package com.myslef.teaching_platfrom.common;

import com.myslef.teaching_platfrom.utils.CodeRandom;
import com.myslef.teaching_platfrom.utils.MailUtils;

import java.time.LocalDateTime;

public class test {
    public static void main(String[] args) {
        System.out.println(LocalDateTime.now());
        try {
            MailUtils.sendMail("1905268618@qq.com", CodeRandom.verifyCode(6));
        } catch (Exception e) {
            e.printStackTrace();
        }

    }
}
